@import "~taro-ui/dist/style/components/tabs.scss";

.box {
  width: 100%;
  height: 100vh;
  //   box-sizing: border-box;
}

.science {
  width: 100%;
  height: 100%;
  background-color: rgb(232, 239, 242);
  display: flex;
  padding: 20px 30px;
  box-sizing: border-box;
  border-radius: 20px;
  //   margin: 20px;
}

.science_left {
  display: flex;
  width: 280px;
  height: 200px;
}

.img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.science_right {
  display: flex;
  flex: 1;
  margin-left: 20px;
  // background-color: rgb(255, 195, 195);
  flex-direction: column;
  // padding: 0 10px;
  // box-sizing: border-box;
}

.title {
  width: 100%;
  // height: 100%;
  display: flex;
  font-size: medium;
  flex-wrap: wrap;
  font-weight: bolder;
}

.noncontent {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: medium;
}

.commodity {
  width: 47%;
  height: 30vh;
  box-sizing: border-box;
  background-color: #f2eeeeee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  // flex-direction: row;
  // padding: 20px;
  margin: 15px 10px;
  border-radius: 20px;
  // column-count: 3;
  // column-gap: 10px;
  // position: relative;
  box-shadow: 0px 10px 20px #d9d9d9;


  &_box {
    width: 100%;
    // height: 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    // break-inside: avoid;
  }
}

.commodity_img {
  width: 100%;
  height: 25vh;
  // height: 250px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  // margin: 15px 0 5px 0;
}

.commodity_down {
  width: 100%;
  // height: 40%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  // justify-content: center;
  position: relative;
}

.name {
  // display: flex;
  // width: 100%;
  flex-wrap: wrap;
  // padding: 10px 0;
  font-weight: border;
}

.price {
  // width: 40%;
  // height: 10%;
  justify-content: center;
  border-radius: 15px;
  position: absolute;
  top: -20%;
  right: 3%;

}
